<%@page contentType="text/html;charset=utf-8"%>
<%@include file="../common/taglib.jsp"%>

<span id="login_info"> 
	<b>您好${sessionScope.session_user.nickname}，欢迎光临当当网</b>
	<s:if test="#request.isLogin">
		[&nbsp;
		<a href="javascript:;" onclick="load('logout.action','login_info')" class="b">退出</a>
		&nbsp;]
	</s:if>
	<s:else>
		[&nbsp;
		<a href="loginForm.action" class="b">登录</a>
		|
		<a href="registerForm.action" class="b">注册</a>
		&nbsp;]
	</s:else>
	
</span>
